@extends('admin.layouts._menu')
@section('content')
    @include('layouts._message')
    <div class="card">
        <div class="card-body">
            <ul class="nav nav-tabs nav-overflow header-tabs">
                <li class="nav-item">
                    <a href="{{route('admin.user.index')}}" class="nav-link pb-3 active">
                        用户列表
                    </a>
                </li>
            </ul>
        </div>
        <div class="card-body small">
            <table class="table">
                <thead>
                <tr>
                    <th>编号</th>
                    <th>用户名</th>
                    <th>用户昵称</th>
                    <th>注册时间</th>
                </tr>
                </thead>
                <tbody>
                {{--@dd($users);--}}
                {{--@foreach($users as $user)--}}
                        <tr>
                            <td scope="row">{{$users['id']}}</td>
                            <td>{{$users['name']}}</td>
                            <td>{{$users['nickname']}}</td>
                            <td>{{$users['created_at']}}</td>
                        </tr>
                {{--@endforeach--}}
                </tbody>
            </table>
        </div>
        {{--<div class="card_body">--}}
            {{--{{$users->links()}}--}}
        {{--</div>--}}
    </div>
@endsection
